package com.timebank.volunteer.mapper;

import com.timebank.volunteer.pojo.entity.VolunteerBlackList;
import com.timebank.volunteer.pojo.vo.VolunteerBlackListVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 志愿服务 黑名单
 * @author shiliuyinzhen
 */
@Mapper
public interface VolunteerBlackListMapper {

    /**
     * 批量添加志愿服务黑名单
     * @param volunteerBlackLists
     * @return
     */
    int BatchInsertBlackList(@Param("volunteerBlackLists") List<VolunteerBlackList> volunteerBlackLists);

    /**
     * 条件查询志愿服务黑名单列表
     * @param volunteerBlackList
     * @return
     */
    List<VolunteerBlackListVO> getBlackList(VolunteerBlackList volunteerBlackList);

    /**
     * 批量删除黑名单
     * @param volunteerBlackLists
     * @return
     */
    int BatchRemoveBlackList(@Param("volunteerBlackLists") List<VolunteerBlackList> volunteerBlackLists);
}
